package com.gnerv.pabu.basic.core.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.extern.slf4j.Slf4j;

@Slf4j
@Data
@NoArgsConstructor
@AllArgsConstructor
@TableName("manage_role_authorization")
public class RoleAuthorization extends BaseEntity {

    /**
     * 角色主键
     */
    @TableId(value = "role_id", type = IdType.NONE)
    private String roleId;

    /**
     * 授权类型
     */
    private Integer type;

    /**
     * 授权主键
     */
    private String ukId;

}
